package io.renren.service;

import com.baomidou.mybatisplus.service.IService;
import io.renren.entity.SmsLogEntity;


/**
 * 短信记录表
 *
 * @author LANLING
 * @email lanling@gmail.com
 * @date 2018-12-12 15:08:57
 */
public interface SmsLogService extends IService<SmsLogEntity> {


    /***
     * 一分钟之内不能重复发送短信
     * @param phone 手机
     * @return
     */
    SmsLogEntity querySmsCodeByPhone(String phone);
}

